package com.edu.entity.shop;

import java.util.Date;

public class Video {
    private Integer id;
    private Integer pid;
    private String videono;
    private String videoname;
    private String grade;
    private String subject;
    private String tag;
    private String brief;
    private Integer timelong;
    private Float price;
    private Float bigprice;
    private String pic;
    private String detail;
    private String video;

    public Video(Integer pid, String videono, String videoname, String grade, String subject, String tag, String brief, Integer timelong, Float price, Float bigprice, String pic, String detail, String video, Integer times, String skill) {
        this.pid = pid;
        this.videono = videono;
        this.videoname = videoname;
        this.grade = grade;
        this.subject = subject;
        this.tag = tag;
        this.brief = brief;
        this.timelong = timelong;
        this.price = price;
        this.bigprice = bigprice;
        this.pic = pic;
        this.detail = detail;
        this.video = video;
        this.times = times;
        this.skill = skill;
    }

    private Integer times;
    private String skill;

    public Video() {
    }

    public Video(String grade, String subject, String tag) {
        this.grade = grade;
        this.subject = subject;
        this.tag = tag;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getVideono() {
        return videono;
    }

    public void setVideono(String videono) {
        this.videono = videono;
    }

    public String getVideoname() {
        return videoname;
    }

    public void setVideoname(String videoname) {
        this.videoname = videoname;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getBrief() {
        return brief;
    }

    public void setBrief(String brief) {
        this.brief = brief;
    }

    public Integer getTimelong() {
        return timelong;
    }

    public void setTimelong(Integer timelong) {
        this.timelong = timelong;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Float getBigprice() {
        return bigprice;
    }

    public void setBigprice(Float bigprice) {
        this.bigprice = bigprice;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public Integer getTimes() {
        return times;
    }

    public void setTimes(Integer times) {
        this.times = times;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    @Override
    public String toString() {

        return "Video{" +
                "id=" + id +
                ", pid=" + pid +
                ", videono='" + videono + '\'' +
                ", videoname='" + videoname + '\'' +
                ", grade='" + grade + '\'' +
                ", subject='" + subject + '\'' +
                ", tag='" + tag + '\'' +
                ", brief='" + brief + '\'' +
                ", timelong=" + timelong +
                ", price=" + price +
                ", bigprice=" + bigprice +
                ", pic='" + pic + '\'' +
                ", detail='" + detail + '\'' +
                ", video='" + video + '\'' +
                ", times=" + times +
                ", skill='" + skill + '\'' +
                '}';
    }
}
